package com.ruoyi.jl_bg.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * wbs清单变更主业务对象 jl_bg_bs_bg
 *
 * @author zyb
 * @date 2024-12-23
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class JlBgBsBgBo extends BaseEntity {

    /**
     * 所属期数id
     */
    @NotNull(message = "所属期数id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long qsId;

    /**
     * 所属合同主键
     */
    @NotNull(message = "所属合同主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long contractId;

    /**
     * 所属标段id
     */
    @NotNull(message = "所属标段id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long bdId;

    /**
     * 变更主键
     */
    private Long bgId;

    /**
     * 变更令编号
     */
    private String bglBh;

    /**
     * 变更事项
     */
    private String bgsx;

    /**
     * 变更日期
     */
    private Date bgDate;

    /**
     * 变更理由
     */
    private String bgReason;

    /**
     * 变更等级
     */
    private String bgDj;

    /**
     * 变更类型
     */
    private String bgType;

    /**
     * 变更状态
     */
    @NotBlank(message = "变更状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bgStatus;

    /**
     * 变更备注
     */
    private String bgRemark;

    /**
     * 变更确认时间
     */
    private Date bgQrTime;

    /**
     * wbs_id(工程部位)
     */
    private Long wbsId;

    /**
     * 变更金额
     */
    private BigDecimal bgMoney;

    /**
     * 是否允许修改flag
     */
    private Integer updateFlag;


}
